package com.zhouheng.springbootmultithreading.module.bankaccount.repository;

import com.zhouheng.springbootmultithreading.module.bankaccount.entity.BankAccount;
import org.springframework.data.jpa.repository.JpaRepository;

public interface BankAccountRepository extends JpaRepository<BankAccount,String> {

    BankAccount findByAccountAndPassword(String account, String password);

    BankAccount findByAccount(String account);
}
